using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsQuotedetailTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Quotedetail"; 

		public const string C_QUOTEDETAILID = "QUOTEDETAILID";
		public const string C_QUOTEID = "QUOTEID";
		public const string C_ORDERNUM = "ORDERNUM";
		public const string C_PRODUCTID = "PRODUCTID";
		public const string C_CUSTOMERPARTNO = "CUSTOMERPARTNO";
		public const string C_NUMS = "NUMS";
		public const string C_PRICE = "PRICE";
		public const string C_AMOUNT = "AMOUNT";
		public const string C_TAX = "TAX";
				
		public BsQuotedetailTable()
		{
			_tableName ="Bs_Quotedetail";
		}

		protected static BsQuotedetailTable _current;

		public static BsQuotedetailTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsQuotedetailTable();

			_current.Add(C_QUOTEDETAILID, new ColumnInfo(C_QUOTEDETAILID, "", true, typeof(Decimal?)));
			_current.Add(C_QUOTEID, new ColumnInfo(C_QUOTEID, "", false, typeof(String)));
			_current.Add(C_ORDERNUM, new ColumnInfo(C_ORDERNUM, "", false, typeof(Decimal?)));
			_current.Add(C_PRODUCTID, new ColumnInfo(C_PRODUCTID, "", false, typeof(String)));
			_current.Add(C_CUSTOMERPARTNO, new ColumnInfo(C_CUSTOMERPARTNO, "", false, typeof(String)));
			_current.Add(C_NUMS, new ColumnInfo(C_NUMS, "", false, typeof(Decimal?)));
			_current.Add(C_PRICE, new ColumnInfo(C_PRICE, "", false, typeof(Decimal?)));
			_current.Add(C_AMOUNT, new ColumnInfo(C_AMOUNT, "", false, typeof(Decimal?)));
			_current.Add(C_TAX, new ColumnInfo(C_TAX, "", false, typeof(Decimal?)));
						
		}

		public ColumnInfo QUOTEDETAILID
		{
			get { return this[C_QUOTEDETAILID];}
		}

		public ColumnInfo QUOTEID
		{
			get { return this[C_QUOTEID];}
		}

		public ColumnInfo ORDERNUM
		{
			get { return this[C_ORDERNUM];}
		}

		public ColumnInfo PRODUCTID
		{
			get { return this[C_PRODUCTID];}
		}

		public ColumnInfo CUSTOMERPARTNO
		{
			get { return this[C_CUSTOMERPARTNO];}
		}

		public ColumnInfo NUMS
		{
			get { return this[C_NUMS];}
		}

		public ColumnInfo PRICE
		{
			get { return this[C_PRICE];}
		}

		public ColumnInfo AMOUNT
		{
			get { return this[C_AMOUNT];}
		}

		public ColumnInfo TAX
		{
			get { return this[C_TAX];}
		}

		
	}
}


